import axios from 'axios'

let axiosIns = axios.create({
  // baseURL:"http://39.98.123.211/",
  baseURL:"/sph",
  timeout:5000
})

axiosIns.interceptors.request.use(function (config) {
  return config;
});

axiosIns.interceptors.response.use(function (response) {
  return response.data;
}, function (error) {
  return Promise.reject(error);
});

export default axiosIns;
